const express = require('express');
const router = express.Router();

router.get('/forSaleProformaInvoice', (req, res) => {
    const content = [];
    for(let i = 0; i < 20; i++)
        content.push({
            id: `2020${i}`,
            lV1Code: `lV1Code${i}`,
            lV2Code: `lV2Code${i}`,
            lV3Code: `lV3Code${i}`,
            lV3Name: `lV3Name${i}`,
            lV4Code: `lV4Code${i}`,
            lV4Name: `lV4Name${i}`,
            unitVolume: 34124,
            modelName: 'modelName'
        });
    res.json({
        message: '',
        payload: {
            content,
            totalElements: 20,
        }
    });
});
module.exports = router;
